package com.exam.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.exam.entity.Answer;
import com.exam.entity.Question;
import com.exam.vo.PageResponse;
import com.exam.vo.QuestionVo;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 小聋包
 * @date 2024-04-20 14:56
 * @Version 1.0
 */

public interface QuestionService extends IService<Question> {

    PageResponse<Question> getQuestion(String questionType, String questionBank, String questionContent, Integer pageNo, Integer pageSize);

    void deleteQuestionByIds(String questionIds);

    void addQuestion(QuestionVo questionVo);

    void updateQuestion(QuestionVo questionVo);


    QuestionVo getQuestionVoById(Integer id);



    PageResponse<QuestionVo> getQuestionVoByIds(List<Integer> ids);
}
